package com.tju.Model;

import lombok.Data;

import java.util.Set;

@Data
public class Roles {
    private Integer id;

    private String name;

    private Integer enable;

    private Set<Resources> resources;

    public Roles(Integer id, String name, Integer enable) {
        this.id = id;
        this.name = name;
        this.enable = enable;
    }

    public Roles() {
        super();
    }
}